package IteratorAndComposite.IteratorInterfacesImpl;

import IteratorAndComposite.IteratorInterfaces.Iterator;

import java.util.ArrayList;

/**
 * @Author: pengzx
 * @Description:
 * @Date: 17:44 2017/9/20
 * @Modified by: 1.0
 */
public class ItoratroTest {

    public Iterator iterator(){
        return new itr();
    }

    private class itr implements Iterator{

        @Override
        public boolean hasNext()
        {
            return false;
        }

        @Override
        public Object next()
        {
            return null;
        }
    }
}
